home *** CD-ROM | disk | FTP | other *** search
/ PC Media 15 / PC MEDIA CD15.iso / helpline / get27 / get27.hlp < prev    next >
Encoding:
Text File  |  1987-11-26  |  4.0 KB  |  56 lines

  1. GET Version 2.7  - Bob Stephan's BATch Enhancer -  Copyright 1995 Bob Stephan
  2.   Syntax:  GET command argument(s) /switches       More Instructions: GET.DOC
  3. Purpose          Command Argument(s) Switches Environment ErrorLevel Extended
  4. ---------        ------- ----------- ---[/]-- --(GET=)--- --(Exit)-- --[E]---
  5.           --------- String Handling and Screen I/O Commands --------
  6. Echo             EC   "prompt"            ANS  --         --          --
  7. Get character    C[E]["prompt"][chars]    All  ASCII Char ASCII code No Echo
  8. aNswer yes or no N[E]["prompt"][seconds]  All  ASCII Char ASCII code No Echo
  9. Get string       S[E]["prompt"][pattern]  All  String     Length     Echo .
  10. Put string (Zap) Z   ["string/&var"][skip]AWX  String     Length     --
  11. Standard Input   ZE  ["prompt"] [skip]    AWX  String     Length     --
  12. In String        #[E] "string" ['arg']    WX   Position in string    Extract
  13. Moving Text      T[E] "filespec" [chars]  EX   ASCII Char ASCII code No Echo
  14. Key waiting      I[E]["prompt"]           AEX  --Character Waiting-- Get Char
  15. Keyboard bUffer  U[E]["chars"][num][/Wnum]W    [E]Locks   Length     Caps/Num
  16.              For UE: 16=Scroll Lock, 32=Num Lock, 64=Caps Lock
  17. 'Rithmetic       R ["+-*/!=&#^~"] num [/Wnum] AW Result   Result
  18. Blank Screen     B[E] [New attribute]     AWX  --Old attribute--     HexAttr
  19. Video mode/bordr V[E] [New mode/color]         --Old mode/color--    Border
  20. Date and Time    H[E] ["prompt"] code    ACSWX Value      Value      Strng/Ctry
  21.  Code:1=DoW 2=DoM 4=Mon 8=Yr 16=Hr 32=Min 64=Sec 128=odd/even 256=100ths 512=yy
  22.           --------- Disk and File Commands --------
  23. File size        F[E] filespec[/Wdiv/X/A] AEWX Bytes/Hex  Kilobytes  Kb/10
  24. File date        F[E] filespec /E/Wcode   ACES Value      Value      Strng/Ctry
  25.   /E required, /W codes: 2, 4, 8, 16, 32, 64, 512 as for GET H[E]
  26. Full Path        FP   filespec                 Fullpath   Length     --
  27. Disk free space  K[E] [drive] [/Wdiv]     AWX  Kilobytes  Kb/10      Kb/100
  28. Disk capacity    Q[E] [drive] [/Wdiv]     AWX  Kilobytes  Kb/10      Kb/100
  29. Volume label     L[E] ["label"][drive]    AX   Label      1=yes,0=no Match
  30. EXEC      X[E] "d:\path\program.ext" 'args'    Exit[Path] Exit[Drive] Path
  31. Current dir      Y    [drive]                  Directory  Level:Root=0
  32. Current drive    YE          (boot drive /X)   Drive      Drive:A=0
  33.           --------- Memory and System Commands --------
  34. Environment left E[E]         (full size /X)   Bytes      Bytes      Bytes/10
  35. Memory free      M[E]                          Kilobytes  Kilobytes  Kb/10
  36. Break Flag       BR [New flag 1=on, 0=off]         Old flag           --
  37. Printer(PRN)     P[E] ["prompt"] [test]   X    1=yes,0=no 1=yes,0=no Init
  38. DOS Version      D[E]                          Major Vers MajorMinor MinorEnv
  39. DESQview Version DV                            Major Vers MajorMinor  --
  40. 4DOS Version     4                             Major Vers MajorMinor  --
  41. Windows          4E                            1=yes,0=no 1=yes,0=no  --
  42. Coprocessor/CPU  7[E]                          1=yes,0=no 1=yes,0=no CPU Type
  43. ANSI.SYS/Model   A[E]                          1=yes,0=no 1=yes,0=no PC Model
  44. Warm/Cold Boot   W[E] ["prompt"][arg]          If arg:1=warm, 0=cold ColdBoot
  45.  Surrogates: }=Carriage Return, ~=Escape, Alt-255=Space/Blank.
  46.  GLOBAL SWITCHES: (apply to most commands if appropriate)
  47.   /H Hex output, /M Master Env, /R Return Code in Environment, /U /L case
  48.   /B flush key Buffer, /TL/TR/T Trim Left/Right/Both, /V[&]var=, /V- No var
  49.  LOCAL SWITCHES: (action depends on the command)
  50.   /A[num] Attribute ["prompt"], All bytes [F], ASCII [R] /N No CR
  51.   /K 10 second timeout Kountdown, /S[n] Sound control/Date format
  52.   /C suppress Ctrl-Break during input [C,S,N], Compressed date [H,F/E]
  53.   /E /X EXtended keys/EXtra feature, /W[num] Wait or numerical value
  54.  See GET.DOC for additional features and BATch programming instructions.
  55.  GET is a shareware product. Registration is required for continued use.
  56.